package com.affectu.user.action;

import org.jboss.seam.annotations.Name;

import com.affectu.dao.DAOBase;
import com.affectu.search.SearchAction;

/*
 * 2008-8-10 
 * @author daniel nathan
 */
@Name("providerAction")
public class Provider extends DAOBase {

	public String searchSubCategory(String categoryName) {
		SearchAction searchAction = new SearchAction();
		searchAction.setKeywords(categoryName);
		searchAction.setSearchType("wike");
		searchAction.luceneSearch();
		this.getSessionScope().put("searchAction", searchAction);
		return "/search/result.xhtml";
	}
}
